<access_control grant="dev">
    <div>
        <?
        $viewEditor = Erra_System_Factory::getFieldObject('Base_FileEditorObject', 'editViewFiles', 'CREATE', null, 'views');
        echo $viewEditor->_form('AdminAction/saveEditorFile');
        ?>
    </div>
    <div>
        <div class="field_dialog_header css3legacy"><?= __('Preview of .phtml file') ?></div>
        <div class="erra-form-common-dialog_content css3legacy">
            <iframe style="border:3px solid #A3B5C9; border-radius:5px;" id="viewEditorPreview" width=1100 height=500 src="<?= config_get("application.http_webroot") ?>/preview/<?= $viewEditor->defaultFile; ?>"></iframe>
        </div>
    </div>
</access_control>